﻿//-----------------------------------------------------------------------
// <copyright file="OffPeakRatio.cs" company="Redmist">
//     Copyright (c) Damien T Smith. All rights reserved.
// </copyright>
// <author>Damien Smith</author>
//-----------------------------------------------------------------------

namespace Redmist.UsageMonitor.CustomControls
{
    /// <summary>Describes an off peak usage plan as a friendly percentage and a reduced usage ratio.</summary>
    public class OffPeakRatio
    {
        /// <summary>Initializes a new instance of the OffPeakRatio class.</summary>
        public OffPeakRatio()
        {
        }

        /// <summary>Gets or sets a System.String representing a percentage e.g. "50%"</summary>
        public string PercentText { get; set; }
        
        /// <summary>Gets or sets a value representing the reduced ratio of off peak usage.</summary>
        /// <remarks>Typically should be 1/percent value.</remarks>
        public int Ratio { get; set; }
    }
}
